package com.sdry.reportforms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sdry.basic.entity.AttendanceRecordDaySummary;

import java.util.List;

/**
 * @author lianleiming
 * @date 2020-04-0317:42
 **/
public interface ReportFormMapper extends BaseMapper<AttendanceRecordDaySummary> {

    /**
     * 每日考勤汇总
     */
    public List<AttendanceRecordDaySummary> dailyAttendanceSummary(String theDayBefore);
    /**
     * 每日考勤汇总存入数据库
     */
    public Long insertDailyAttendanceSummary(AttendanceRecordDaySummary ards);

    /**
     * 分页查询每日考勤记录
     */
    List<AttendanceRecordDaySummary> queryDailyStatement(AttendanceRecordDaySummary ards);

    /**
     * 条件查询每日考勤记录有几条
     */
    Long countDailyStatement(AttendanceRecordDaySummary ards);

    /**
     * 分页查询考勤月汇总记录
     */
    List<AttendanceRecordDaySummary> queryMonthStatement(AttendanceRecordDaySummary ards);

    /**
     * 条件查询每考勤月汇总记录有几条
     */
    Long countMonthStatement(AttendanceRecordDaySummary ards);
}





























































































